package entity.form;

import java.util.List;
import java.util.Date;
import java.util.Map;

import entity.Page;
import entity.field.FieldVo;

public class FormVo extends Form {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 字段数组
	 */
	private List<FieldVo> fieldList;

	/**
	 * 字段提交
	 */
	private Map<String, String> fieldMap;

	/**
	 * 模板主键
	 */
	private Integer formId;

	/**
	 * 操作人
	 */
	private Integer userId;

	/**
	 * 操作时间
	 */
	private Date date;

	public void setUserId(Integer userId) { 
		this.userId = userId;
	}
	
	public Integer getUserId() { 
		return userId;
	}

	public void setDate(Date date) { 
		this.date = date;
	}
	
	public Date getDate() { 
		return date;
	}

	public List<FieldVo> getFieldList() {
		return fieldList;
	}

	public void setFieldList(List<FieldVo> fieldList) {
		this.fieldList = fieldList;
	}

	public Map<String, String> getFieldMap() {
		return fieldMap;
	}

	public void setFieldMap(Map<String, String> fieldMap) {
		this.fieldMap = fieldMap;
	}

	public Integer getFormId() {
		return formId;
	}

	public void setFormId(Integer formId) {
		this.formId = formId;
	}

	@Override
	public String toString() {
		return "FormVo{" +
				"fieldList=" + fieldList +
				", fieldMap=" + fieldMap +
				", formId=" + formId +
				", userId=" + userId +
				", date=" + date +
				"} " + super.toString();
	}
}
